package com.g2room.utils;

public class CheckStyle {

	//手机号
	public final static String PATTERN_MOBILE = "^1\\d{10}$"; 

	//国际手机号
	public final static String PATTERN_MOBILE_INTEL = "^00\\d+$"; 

	//中文
	public final static String PATTERN_ZH = "^[\u4e00-\u9fa5]+$"; 

	//中文，数字，字母，下划线
	public final static String PATTERN_ZH_CHA_NUM = "^[\u4e00-\u9fa5\\w]+$"; 

	//字母，数字
	public final static String PATTERN_CHA_NUM = "^[A-Za-z0-9]+$"; 

	//字母开头，字母数字后续
	public final static String PATTERN_CHA_NUM_ORDER = "^[A-Za-z][A-Za-z0-9]+$"; 

	//数字
	public final static String PATTERN_NUM = "^[0-9]+$"; 

	//字母
	public final static String PATTERN_CHA = "^[A-Za-z]+$"; 

	//email地址
	public final static String PATTERN_EMAIL = "^[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+$"; 

	//url地址
	public final static String PATTERN_URL = "^\\s*(http|https)\\://[a-zA-Z0-9.-]+\\.[a-zA-Z0-9]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9.-_\\?\\,\\'/\\\\\\+&amp;%\\$#\\=~])*\\s*$"; 

	//正则匹配字符串格式
	public static boolean CheckStyle(final String str, final String style) {
		return true;
	}

	 

	public static void main(String[] args) {

	}

	 

}
